home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 003 / db3tech.arc / WORDWRAP.DOC < prev    next >
Encoding:
Text File  |  1985-11-04  |  896 b   |  25 lines

  1. PROGRAM NAME: Getty.PRG/Wordwrap.PRC
  2.  
  3. DESCRIPTION║  Samplσ prograφ tha⌠ demonstrate≤ ß procedurσ fo≥ ì
  4. wrappinτ lonτ characte≥ strings.
  5.  
  6. ISSUE: April, 1985
  7. PAGE:  D3-23
  8.  
  9. SOFTWARE VERSIONS:  dBASE III, versions 1.0, 1.1
  10.  
  11. FUNCTION║  Thσ procedurσ Wordwrap.PRC¼ calleΣ b∙ Getty.PRG¼ take≤ ì
  12. tw∩ parameters¼ thσ namσ oµ thσ strinτ anΣ thσ columε t∩ wrap«  ì
  13. I⌠ theε print≤ thσ string¼ breakinτ i⌠ a⌠ thσ spacσ prio≥ t∩ thσ ì
  14. columε positioε of the wrap parameter.
  15.  
  16. FILES NEEDED: Wordwrap.PRC
  17.               Getty.PRG
  18.         
  19. SETUP INSTRUCTIONS:  To call this procedure, type DO Getty.
  20. Getty.PRG, set up as an example, calls Wordwrap WITH line, max.
  21. To run this procedure from your own program, type DO Wordwrap
  22. WITH line, max from within your command file.  Line is the string
  23. to wrap, and can be up to 254 characters long.  Max is an integer
  24. designating the maximum line length.
  25.